.class Lcom/waiqin365/lightapp/kehu/view/ab;
.super Ljava/lang/Object;

# interfaces
.implements Ljava/lang/Runnable;


# instance fields
.field final synthetic a:Lcom/waiqin365/lightapp/kehu/view/CountDownView;


# direct methods
.method constructor <init>(Lcom/waiqin365/lightapp/kehu/view/CountDownView;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/kehu/view/ab;->a:Lcom/waiqin365/lightapp/kehu/view/CountDownView;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public run()V
    .locals 5

    const/16 v4, 0x168

    :goto_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/view/ab;->a:Lcom/waiqin365/lightapp/kehu/view/CountDownView;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kehu/view/CountDownView;->a(Lcom/waiqin365/lightapp/kehu/view/CountDownView;)I

    move-result v0

    if-ge v0, v4, :cond_1

    const-wide/16 v0, 0x3e8

    :try_start_0
    invoke-static {v0, v1}, Ljava/lang/Thread;->sleep(J)V
    :try_end_0
    .catch Ljava/lang/InterruptedException; {:try_start_0 .. :try_end_0} :catch_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/view/ab;->a:Lcom/waiqin365/lightapp/kehu/view/CountDownView;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kehu/view/CountDownView;->b(Lcom/waiqin365/lightapp/kehu/view/CountDownView;)I

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/view/ab;->a:Lcom/waiqin365/lightapp/kehu/view/CountDownView;

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/view/ab;->a:Lcom/waiqin365/lightapp/kehu/view/CountDownView;

    invoke-static {v1}, Lcom/waiqin365/lightapp/kehu/view/CountDownView;->c(Lcom/waiqin365/lightapp/kehu/view/CountDownView;)I

    move-result v1

    mul-int/lit16 v1, v1, 0x168

    iget-object v2, p0, Lcom/waiqin365/lightapp/kehu/view/ab;->a:Lcom/waiqin365/lightapp/kehu/view/CountDownView;

    invoke-static {v2}, Lcom/waiqin365/lightapp/kehu/view/CountDownView;->d(Lcom/waiqin365/lightapp/kehu/view/CountDownView;)I

    move-result v2

    div-int/2addr v1, v2

    invoke-static {v0, v1}, Lcom/waiqin365/lightapp/kehu/view/CountDownView;->a(Lcom/waiqin365/lightapp/kehu/view/CountDownView;I)I

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/view/ab;->a:Lcom/waiqin365/lightapp/kehu/view/CountDownView;

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    iget-object v2, p0, Lcom/waiqin365/lightapp/kehu/view/ab;->a:Lcom/waiqin365/lightapp/kehu/view/CountDownView;

    invoke-static {v2}, Lcom/waiqin365/lightapp/kehu/view/CountDownView;->d(Lcom/waiqin365/lightapp/kehu/view/CountDownView;)I

    move-result v2

    iget-object v3, p0, Lcom/waiqin365/lightapp/kehu/view/ab;->a:Lcom/waiqin365/lightapp/kehu/view/CountDownView;

    invoke-static {v3}, Lcom/waiqin365/lightapp/kehu/view/CountDownView;->c(Lcom/waiqin365/lightapp/kehu/view/CountDownView;)I

    move-result v3

    sub-int/2addr v2, v3

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string/jumbo v2, ""

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-static {v0, v1}, Lcom/waiqin365/lightapp/kehu/view/CountDownView;->a(Lcom/waiqin365/lightapp/kehu/view/CountDownView;Ljava/lang/String;)Ljava/lang/String;

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/view/ab;->a:Lcom/waiqin365/lightapp/kehu/view/CountDownView;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kehu/view/CountDownView;->e(Lcom/waiqin365/lightapp/kehu/view/CountDownView;)Lcom/waiqin365/lightapp/kehu/view/ac;

    move-result-object v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/view/ab;->a:Lcom/waiqin365/lightapp/kehu/view/CountDownView;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kehu/view/CountDownView;->a(Lcom/waiqin365/lightapp/kehu/view/CountDownView;)I

    move-result v0

    if-lt v0, v4, :cond_2

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/view/ab;->a:Lcom/waiqin365/lightapp/kehu/view/CountDownView;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kehu/view/CountDownView;->e(Lcom/waiqin365/lightapp/kehu/view/CountDownView;)Lcom/waiqin365/lightapp/kehu/view/ac;

    move-result-object v0

    invoke-interface {v0}, Lcom/waiqin365/lightapp/kehu/view/ac;->a()V

    :cond_0
    :goto_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/view/ab;->a:Lcom/waiqin365/lightapp/kehu/view/CountDownView;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/kehu/view/CountDownView;->postInvalidate()V

    goto :goto_0

    :catch_0
    move-exception v0

    invoke-virtual {v0}, Ljava/lang/InterruptedException;->printStackTrace()V

    :cond_1
    return-void

    :cond_2
    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/view/ab;->a:Lcom/waiqin365/lightapp/kehu/view/CountDownView;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kehu/view/CountDownView;->e(Lcom/waiqin365/lightapp/kehu/view/CountDownView;)Lcom/waiqin365/lightapp/kehu/view/ac;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/view/ab;->a:Lcom/waiqin365/lightapp/kehu/view/CountDownView;

    invoke-static {v1}, Lcom/waiqin365/lightapp/kehu/view/CountDownView;->c(Lcom/waiqin365/lightapp/kehu/view/CountDownView;)I

    move-result v1

    iget-object v2, p0, Lcom/waiqin365/lightapp/kehu/view/ab;->a:Lcom/waiqin365/lightapp/kehu/view/CountDownView;

    invoke-static {v2}, Lcom/waiqin365/lightapp/kehu/view/CountDownView;->d(Lcom/waiqin365/lightapp/kehu/view/CountDownView;)I

    move-result v2

    div-int/2addr v1, v2

    int-to-float v1, v1

    invoke-interface {v0, v1}, Lcom/waiqin365/lightapp/kehu/view/ac;->a(F)V

    goto :goto_1
.end method
